<% if didily %>
<p> 
  <a id="uri_from" class="subject" _target="blank" href="<%=didily.from_uri%>"><%= didily.from_title %></a>
  <%=link_to didily.relationship.name, {:controller=>'relationships', :action=>'show', :id=>didily.relationship.id}, {:class=>'verb', :id=>'relation'} %>
  <a id="uri_to" class="predicate" _target="blank" href="<%=didily.to_uri%>"><%= didily.to_title %></a>
  <% if !didily.user.nil? %>
    <%= link_to didily.user.login, user_path(didily.user), {:class=>'user'}%>
  <% end %>
  <% if !current_user.nil? && (defined? include_admin && include_admin == true) %>
    <% if ((!didily.user.nil? && didily.user.id == current_user.id) || current_user.role == 'admin') %>
      <%= link_to 'Edit', edit_didily_path(didily) %>
      <%= link_to 'Destroy', didily_path(didily), :confirm => 'Are you sure you wish to destroy this poor little didily?', :method => :delete %>
    <% end %>
  <% end %>
</p>
<% end %>